package aspects;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class LoggingAspect {

	
@Before("allCirclemethods()")	
public void loggingadvidc(JoinPoint jp) {
 System.out.println(jp.toString());
	
}	
 
@Before("allCirclemethods()")	
public void stringarguments(){
	
System.out.println("A mehtod to accept string");
}

@Pointcut("within(models.circle)")
public void allCirclemethods() {}

	
	
	
}